package net.xo68.destiny.contract.domain.sched;

import lombok.Data;
import lombok.ToString;

/**
 * 工作节点负载均衡路由策略
 * @author wuxie
 * @version 2020-12-21
 */
@ToString
@Data
public class WorkerRouteStrategy {

    /**
     * 策略键，对应枚举
     */
    private String strategyKey;

    /**
     * 策略名称
     */
    private String strategyName;


    public WorkerRouteStrategy() {
    }

    public WorkerRouteStrategy(String strategyKey, String strategyName) {
        this.strategyKey = strategyKey;
        this.strategyName = strategyName;
    }
}
